package com.jstyle.jclife.model;

/**
 * Created by Administrator on 2017/3/24.
 */

public class NetResultData<T> {

    public static final int Success_Code=1;
    public static final int Failed_Code=2;
    /**
     * msgCode : 1
     * msgInfo : 成功
     * data : 521acf64f8f6f294
     */

    private int msgCode;
    private String msgInfo;
    private T data;

    public int getMsgCode() {
        return msgCode;
    }

    public void setMsgCode(int msgCode) {
        this.msgCode = msgCode;
    }

    public String getMsgInfo() {
        return msgInfo;
    }

    public void setMsgInfo(String msgInfo) {
        this.msgInfo = msgInfo;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "NetResultData{" +
                "msgCode=" + msgCode +
                ", msgInfo='" + msgInfo + '\'' +
                ", data='" + data + '\'' +
                '}';
    }
}
